<?php
// 获取当前用户登录信息
    if(!session_id()){
        session_start();
    }

    if(isset($_SESSION['admin_info'])){
        $admin_info = $_SESSION['admin_info'];
        $admin_ID = $admin_info->admin_ID;                //管理员ID
        $admin_Name = $admin_info->admin_Name;            //管理员姓名
        $admin_pwd = $admin_info->admin_Password;         //密码
        $admin_LastLoginTime = $admin_info->admin_LastLoginTime; 
        if($admin_LastLoginTime == null || $admin_LastLoginTime == ''){
            $admin_LastLoginTime = "当前是首次登录";
        }
        $admin_LoginTime = $admin_info->admin_LoginTime;
    }
?>

